package so.sao.shop.supplier.domain;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>Version: supplier V1.2.0 </p>
 * <p>Title: CheckingAccountAlipay</p>
 * <p>Description: EXCEl中导入的阿里数据，用于对账</p>
 *
 * @author: fangzhou
 * @Date: Created in 2017/11/22 10:05
 */
public class CheckingAccountAlipay {

    /**
     * id
     */
    private Long id;

    /**
     *行号
     */
    private Integer rowNum;

    /**
     * 支付宝交易号
     */
    private String paymentNum;

    /**
     * 商户订单号
     */
    private String payId;

    /**
     * 业务类型
     */
    private String businessType;

    /**
     * 商品名称
     */
    private String commodityName;

    /**
     * 创建时间
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date createTime;

    /**
     * 完成时间
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date endTime;

    /**
     * 对方账户
     */
    private String incomeAccount;

    /**
     * 订单金额
     */
    private BigDecimal orderMoney;

    /**
     * 商家实收
     */
    private BigDecimal paidInMoney;

    /**
     * 支付宝红包
     */
    private BigDecimal redPacket;

    /**
     * 集分宝
     */
    private BigDecimal integralMoney;

    /**
     * 支付宝优惠
     */
    private BigDecimal aliCoupon;

    /**
     * 商家优惠
     */
    private BigDecimal accountCoupon;

    /**
     * 券核销金额
     */
    private BigDecimal certificateAmount;

    /**
     * 券名称
     */
    private String ticketName;

    /**
     * 商家红包消费金额
     */
    private BigDecimal accountRedPacket;

    /**
     * 卡消费金额
     */
    private BigDecimal cardMoney;

    /**
     * 退款批次号/请求号
     */
    private String refundId;

    /**
     * 服务费
     */
    private BigDecimal serviceCharge;

    /**
     * 分润
     */
    private BigDecimal shareBenefit;

    /**
     * 备注
     */
    private String remark;

    /**
     * 创建时间
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date createdAt;

    /**
     * 更新时间
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date updatedAt;

    /**
     * 对账记录id
     */
    private Long recordId;

    /**
     * 对账人id
     */
    private Long checkerId;

    /**
     * 收款类型： 0.预收款  1.银货两讫
     */
    private Integer receiptType;

    /**
     * 支付信息状态： 0.错误  1.正确
     */
    private Integer alipayStutas;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getRowNum() {
        return rowNum;
    }

    public void setRowNum(Integer rowNum) {
        this.rowNum = rowNum;
    }

    public String getPaymentNum() {
        return paymentNum;
    }

    public void setPaymentNum(String paymentNum) {
        this.paymentNum = paymentNum;
    }

    public String getPayId() {
        return payId;
    }

    public void setPayId(String payId) {
        this.payId = payId;
    }

    public String getBusinessType() {
        return businessType;
    }

    public void setBusinessType(String businessType) {
        this.businessType = businessType;
    }

    public String getCommodityName() {
        return commodityName;
    }

    public void setCommodityName(String commodityName) {
        this.commodityName = commodityName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getIncomeAccount() {
        return incomeAccount;
    }

    public void setIncomeAccount(String incomeAccount) {
        this.incomeAccount = incomeAccount;
    }

    public BigDecimal getOrderMoney() {
        return orderMoney;
    }

    public void setOrderMoney(BigDecimal orderMoney) {
        this.orderMoney = orderMoney;
    }

    public BigDecimal getPaidInMoney() {
        return paidInMoney;
    }

    public void setPaidInMoney(BigDecimal paidInMoney) {
        this.paidInMoney = paidInMoney;
    }

    public BigDecimal getRedPacket() {
        return redPacket;
    }

    public void setRedPacket(BigDecimal redPacket) {
        this.redPacket = redPacket;
    }

    public BigDecimal getIntegralMoney() {
        return integralMoney;
    }

    public void setIntegralMoney(BigDecimal integralMoney) {
        this.integralMoney = integralMoney;
    }

    public BigDecimal getAliCoupon() {
        return aliCoupon;
    }

    public void setAliCoupon(BigDecimal aliCoupon) {
        this.aliCoupon = aliCoupon;
    }

    public BigDecimal getAccountCoupon() {
        return accountCoupon;
    }

    public void setAccountCoupon(BigDecimal accountCoupon) {
        this.accountCoupon = accountCoupon;
    }

    public BigDecimal getCertificateAmount() {
        return certificateAmount;
    }

    public void setCertificateAmount(BigDecimal certificateAmount) {
        this.certificateAmount = certificateAmount;
    }

    public String getTicketName() {
        return ticketName;
    }

    public void setTicketName(String ticketName) {
        this.ticketName = ticketName;
    }

    public BigDecimal getAccountRedPacket() {
        return accountRedPacket;
    }

    public void setAccountRedPacket(BigDecimal accountRedPacket) {
        this.accountRedPacket = accountRedPacket;
    }

    public BigDecimal getCardMoney() {
        return cardMoney;
    }

    public void setCardMoney(BigDecimal cardMoney) {
        this.cardMoney = cardMoney;
    }

    public String getRefundId() {
        return refundId;
    }

    public void setRefundId(String refundId) {
        this.refundId = refundId;
    }

    public BigDecimal getServiceCharge() {
        return serviceCharge;
    }

    public void setServiceCharge(BigDecimal serviceCharge) {
        this.serviceCharge = serviceCharge;
    }

    public BigDecimal getShareBenefit() {
        return shareBenefit;
    }

    public void setShareBenefit(BigDecimal shareBenefit) {
        this.shareBenefit = shareBenefit;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }

    public Long getRecordId() {
        return recordId;
    }

    public void setRecordId(Long recordId) {
        this.recordId = recordId;
    }

    public Long getCheckerId() {
        return checkerId;
    }

    public void setCheckerId(Long checkerId) {
        this.checkerId = checkerId;
    }

    public Integer getReceiptType() {
        return receiptType;
    }

    public void setReceiptType(Integer receiptType) {
        this.receiptType = receiptType;
    }

    public Integer getAlipayStutas() {
        return alipayStutas;
    }

    public void setAlipayStutas(Integer alipayStutas) {
        this.alipayStutas = alipayStutas;
    }
}
